package com.study.spring.security.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@Controller
public class HomeController {

    @PostMapping("/home2")
    public String home(){
        return "home2";
    }

    @GetMapping("/user/logout2")
    public String logout2(){
        System.out.println("==========logout2=========");
        return "logout2";
    }
}

